package com.hivekion.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hivekion.common.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_user_bind")
public class SysUserBind extends BaseEntity implements Serializable {

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 80)
      @ColumnComment("用户授权id")
      private String userId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 80)
      @ColumnComment("角色关联关系")
      private String roleId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 80)
      @ColumnComment("地区id关联")
      private String areaId;

      @TableField
      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 80)
      @ColumnComment("审核级别")
      private String levelId;
}
